home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia1.dir / 00377_Script_Generic Flee Btn Script < prev    next >
Text File  |  1995-05-21  |  599b  |  33 lines

  1. on mouseDown
  2.   put "Flee" into f
  3.   put "FleeHL" into fHL
  4.   hiliter 8, f, fHL
  5.   puppetsound "flee.aif"
  6.   updatestage
  7. end
  8.  
  9.  
  10.  
  11. on mouseUp
  12.   global gTheDay, snap1, snap2, theMovieName, gTheDay
  13.   
  14.   WhatDayIsIt
  15.   set the castNum of sprite 8 = cast "Flee"
  16.   set the movierate of sprite 48 = 0
  17.   puppetsprite 48, false
  18.   updatestage
  19.   set the sound of cast theMovieName to 0
  20.   
  21.   if snap1 = 0 and snap2 = 0 then
  22.     puppetsound 0
  23.     updatestage
  24.     go frame gTheDay & "NoShots"
  25.     exit
  26.   else
  27.     puppetsound 0
  28.     updatestage
  29.     go frame "Darkroom"
  30.     exit
  31.   end if
  32. end
  33.